package com.econ.powercloud.ems.dal.mapper;

import com.econ.powercloud.ems.dal.entity.EmsWarnConfig;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * ems预警配置表 Mapper 接口
 * </p>
 *
 * @author AutoGenerator
 * @since 2022-12-02
 */
public interface EmsWarnConfigMapper extends BaseMapper<EmsWarnConfig> {

    /**
     * 这个模糊查询是包含被删除的点号的
     * @param deviceCode
     * @param pidName
     * @return
     */
    List<EmsWarnConfig> selectListByDeviceCodeAndPidName(@Param("deviceCode") String deviceCode, @Param("pidName")String pidName);
}
